/*
 *    Copyright (c) 2018-2025, nart All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: nart
 */

package com.nai365.nart.operation.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】
 *
 * @author baogs
 * @date 2022-07-01 11:13:31
 */
@Data
@TableName("opt_home_subject")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "首页专题表【jd首页下面很多专题，每个专题链接新的页面，展示专题商品信息】")
public class HomeSubject extends Model<HomeSubject> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Long id;

    /**
     * 专题名字
     */
    @ApiModelProperty(value="专题名字")
    private String name;

    /**
     * 专题标题
     */
    @ApiModelProperty(value="专题标题")
    private String title;

    /**
     * 专题副标题
     */
    @ApiModelProperty(value="专题副标题")
    private String subTitle;

    /**
     * 显示状态
     */
    @ApiModelProperty(value="显示状态")
    private Integer status;

    /**
     * 详情连接
     */
    @ApiModelProperty(value="详情连接")
    private String url;

    /**
     * 排序
     */
    @ApiModelProperty(value="排序")
    private Integer sort;

    /**
     * 专题图片地址
     */
    @ApiModelProperty(value="专题图片地址")
    private String img;

	/**
	 * 类型【 1:url 2:二级市场 3:藏品;4合成;5质押;6俱乐部】
	 */
	@ApiModelProperty(value="类型【 1:url 2:二级市场 3:藏品;4合成;5质押;6俱乐部】")
	private Integer type;

	/**
	 * 类型id
	 */
	@ApiModelProperty(value="类型id")
	private Long typeId;

	/**
	 * 类型【 1首页2.俱乐部3二级市场】
	 */
	@ApiModelProperty(value="类型【 1首页2.俱乐部3二级市场】")
	private Integer subType;

}
